Fix a 64bit issue
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Mar 2010 04:55:15 +0000 (00:55 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:59:23 +0000 (20:59 -0400)
Thank you libpng, for typedef unsigned long png_uint_32.

gdk-pixbuf/io-png.c

index c0374ca966e92e4dfa1c9d17d5906db65f8ea33e..43db70aa16372dabb21106835d0b57008ec33094 100644 (file)
@@ -261,7 +261,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error)
         gchar *icc_profile_base64;
         const gchar *icc_profile_title;
         const gchar *icc_profile;
-        guint icc_profile_size;
+        gulong icc_profile_size;
         guint32 retval;
         gint compression_type;
 
@@ -607,7 +607,7 @@ png_info_callback   (png_structp png_read_ptr,
         gchar *icc_profile_base64;
         const gchar *icc_profile_title;
         const gchar *icc_profile;
-        guint icc_profile_size;
+        gulong icc_profile_size;
         guint32 retval;
         gint compression_type;